import _ from 'lodash';
import Print from './print';

/*console.log('process:',process);
console.log('process.env:',process.env);
console.log('process.env.NODE_ENV:',process.env.NODE_ENV);*/

function component() {
    var elm=document.createElement('div');
    elm.innerHTML=_.join(['Hello','Webpack','--3--'],' ');

    var btn=document.createElement('button');
    btn.innerHTML='Click me and check the console';
    btn.onclick=Print;

    elm.appendChild(btn);

    return elm;
}

document.body.appendChild(component());
